// 自动生成的路由配置
import { getSetting } from '@/settings'

export const routes = [
  {
    path: '/',
    name: 'home',
    component: () => {
      const { home } = getSetting()
      if (!home) {
        return import('@/views/home/Test.vue')
      }
      return import(`@/views/home/${home?.version || 'v1'}.vue`)
    },
  },
]
